package com.sxg.convert;

import com.sxg.entity.SxgAddressEntity;
import com.sxg.vo.SxgAddressVO;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

import java.util.List;

/**
* 地址表
*
* @author 浪漫写尽歌谱 3298751420@qq.com
* @since 1.0.0 2024-03-07
*/
@Mapper
public interface SxgAddressConvert {
    SxgAddressConvert INSTANCE = Mappers.getMapper(SxgAddressConvert.class);

    SxgAddressEntity convert(SxgAddressVO vo);

    SxgAddressVO convert(SxgAddressEntity entity);

    List<SxgAddressVO> convertList(List<SxgAddressEntity> list);

}